*** Test Cases ***
业务参数_开户机构_查询
	${res}	业务参数_开户机构_新增		openinginstitutionCode=111111111
	sleep	3
	${param}	create dictionary			openingInstitutionCode=111111111
	${res}	业务参数_开户机构_查询		${param}
	should be equal	000000	${res} [responseCode]
	${res}	业务参数_开户机构_删除		openingInstitutionCodeID=${res} [data] [0] [id]
	should be equal	000000	${res} [responseCode]

业务参数_开户机构_修改_删除
	${res}	业务参数_开户机构_新增		openingInstitutionCode=111111111
	should be equal	000000	${res} [responseCode]
	${param}		create dictionary		openingInstitutionCode-111111111
	${res}	业务参数_开户机构_查询		$ {param}
	${res}	业务参数_开户机构_刪除		openingInstitutionCodeID=${res} [data] [0] [id]
	should be equal	000000	${res} [responseCode]

业务参数_开户机构_新增_正例
	[Documentation]		先新增再附除
	${res}	业务参数_开户机构_新增		openingInstitutionCode=111111111
	should be equal		000000		${res} [reaponseCode]
	${res}	业务参数_开户机构_查询		${res}
	${res}	业务参数_开户机构_删除		openingInstitutionCodeID=${res} [data] [0] [id]
	should be equal	000000			${res} [responseCode]

业务参数_开户机构_新增_反例
	${res}	业务参数_开户机构_新增		openingInstitutionCode=11111111
	sleep	3
	${res}	业务参数_开户机构_新增		openingInstitutionCode=11111111
	should be equal	600	${res} [responseCode]
	should be equal	开户机构名称或者代码重复	${res} [responseMsg]
	${res}	业务参数_开户机构_查询		${res}
	${res}	业务参数_开户机构_删除		openingInstitutionCodeID=${res} [data] [0] [id]
	should be equal	000000			${res} [responseCode]

业务参数_开户机构_修改_正例
	${res}	业务参数_开户机构_新增		openingInstitutionCode=11111111
	sleep	3
	${param}		create dictionary		openingInstitutionCode=11111111
	${res}	业务参数_开户机构_查询		${param}
	${res}	业务参数_开户机构_修改		openingInstitutionCode=11111111	code_id=${res} [data] [0] [id]	openingInstitutionAddress=xxxxxx
	should be equal	000000	${res} [responseCode]
	${res}	业务参数_开户机构_查询		${param}
	${res}	业务参数_开户机构_删除		openingInstitutionCodeID=${res} [data] [0] [id]
	should be equal	000000	${res} [responseCode]